package com.health.pojo.domain;

import lombok.Data;
import lombok.AllArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 日常记录DO
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("daily_records")
public class DailyRecordDO {

    /**
     * 记录ID:记录ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "记录ID:记录ID")
    private Integer recordId;

    /**
     * 用户ID:用户ID
     */
    @Schema(description = "用户ID:用户ID")
    private Integer userId;

    /**
     * 步数:步数
     */
    @Schema(description = "步数:步数")
    private Integer steps;

    /**
     * 睡眠时长:睡眠时长(小时)
     */
    @Schema(description = "睡眠时长:睡眠时长(小时)")
    private Double sleepDuration;

    /**
     * 饮水量:饮水量(毫升)
     */
    @Schema(description = "饮水量:饮水量(毫升)")
    private Integer waterIntake;

    /**
     * 记录日期:记录日期
     */
    @Schema(description = "记录日期:记录日期")
    private Date recordDate;

    /**
     * 创建时间:创建时间
     */
    @Schema(description = "创建时间:创建时间")
    private Date createdAt;

    /**
     * 修改时间:修改时间
     */
    @Schema(description = "修改时间:修改时间")
    private Date updatedAt;

    /**
     * 软删除时间:软删除时间
     */
    @Schema(description = "软删除时间:软删除时间")
    private Date deletedTime;
}
